Use the generator to power an electric circuit by wiring it up to electronic parts.
A mechanical system can drive a generator in two ways: